
package com.chinatelecom.check.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("CheckTableQuestion: 量表题目表")
@TableName("CHECK_TABLE_QUESTION")
@Getter
@Setter
public class CheckTableQuestion implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="主键ID")
	@TableId(type = IdType.AUTO)
	private Integer id;
	
	@ApiModelProperty(value="量表ID")
	@TableField(value = "TABLE_ID")
	private Integer tableId;
	
	@ApiModelProperty(value="题目顺序")
	@TableField(value = "SORT")
	private Integer sort;
	
	@ApiModelProperty(value="题目")
	@TableField(value = "QUESTION")
	private String question;
	
	@ApiModelProperty(value="0文本，1图片，2文本框")
	@TableField(value = "QUESTION_STYLE")
	private Integer questionStyle;
	
	@ApiModelProperty(value="联动题目选项1")
	@TableField(value = "TITLE_ONE")
	private String titleOne;
	
	@ApiModelProperty(value="联动题目选项2")
	@TableField(value = "TITLE_TWO")
	private String titleTwo;
	
	@ApiModelProperty(value="是否有联动 0无，1有")
	@TableField(value = "IS_LINKAGE")
	private Integer isLinkage;
	
	@ApiModelProperty(value="适用性别：0全部，1男生，2女生")
	@TableField(value = "GENDER")
	private Integer gender;
	
	@ApiModelProperty(value="音频地址，用于需要语音播报的量表")
	@TableField(value = "AUDIO_URL")
	private String audioUrl;
	
	@ApiModelProperty(value="创建人")
	@TableField(value = "CREATE_BY")
	private Integer createBy;
	
	@ApiModelProperty(value="创建时间")
	@TableField(value = "CREATE_TIME")
	private Date createTime;
	
	@ApiModelProperty(value="更新人")
	@TableField(value = "UPDATE_BY")
	private Integer updateBy;
	
	@ApiModelProperty(value="更新时间")
	@TableField(value = "UPDATE_TIME")
	private Date updateTime;
	
	@ApiModelProperty(value="是否删除")
	@TableField(value = "IS_DELETED")
	private Integer isDeleted;
	
	@ApiModelProperty(value="租户ID")
	@TableField(value = "TENANT_ID")
	private Integer tenantId;
	
	@ApiModelProperty(value="旧量表题目UUID")
	@TableField(value = "OLD_UUID")
	private String oldUuid;
	
	@ApiModelProperty(value="JSON格式存储选项")
	@TableField(value = "OPTIONS_JSON")
	private String optionsJson;
	


}
